package com.ccc.demoboot.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ccc.demoboot.pojo.Storage;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;


/**
 * @Author wz
 * @Date 2024/6/27 14:44
 * @PackageName:com.ccc.demoboot.dao
 * @ClassName: StorageMapper
 */
public interface StorageMapper extends BaseMapper<Storage> {
    List<Map<String, Object>> selectAllStorage(@Param("ew") QueryWrapper queryWrapper, @Param("status") int status, @Param("applyuserid") int applyuserid);

    Map<String, Object> selectOne(@Param("id") int id);
}